ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Less Tabs

by webArtisan ST3

Sublime Text 3 package to close old, unused and unrelated tabs

Details

  • 2013.08.02.10.13.04
  • github.​com
  • github.​com
  • 11 years ago
  • 57 minutes ago
  • 11 years ago

Installs

  • Total 10K
  • Win 7K
  • Mac 2K
  • Linux 1K
Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13
Windows 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 1
Mac 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Less Tabs for sublime text 3

Are you tired of closing tabs manually ?

Do you want to close all old tabs with one command ?

After installing the plugin, press ctrl + alt + c and all the tabs that wasn't modified in the last 30 minutes (customize from settings) will be closed.

Files with unsaved changes will not be closed.

Files that were visited in the last minute will not be closed. (customize from settings)

Features

  • Close old and unused tabs with a simple shortcut.

  • By setting the value of the setting value “close_on_open_new” to true, the plugin will execute the closing command when a new tab is opened.

  • Close unrelated tabs to the open project.

  • Close unrelated tabs to the directory of the current open tab (tab with focus).

  • Close unrelated tabs to a user input directory.

Installation

Now available through Package Control!

The easiest method is through Package Control. Open the command palette with CtrlShiftP (Windows/Linux) or ShiftP (OSX) and type pci or packconin or whatever you like to get Package Control: Install showing. Click or hit Enter, type in less or less tabs … and then hit Enter.

Manual install

Clone or download this repo to your Packages folder.

To easily open Packages folder, open sublime text then open the following menu Preferences -> Browse Packages....

You can always clone the repo with git

git clone git://github.com/webArtisan/lessTabs.git

Usage

The default shortcut for closing tabs is ctrl + alt + c.

The default shortcut for closing unrelated tabs to the open project is ctrl + alt + u + p.

The default shortcut for closing unrelated tabs to the directory of the current open tab is ctrl + alt + u + t.

The default shortcut for closing unrelated tabs to a user input directory is ctrl + alt + u + d.

There is also a command for each feature in the command palette, all you need to do is open your command palette and start typing Less tabs

Stay tuned

I'm working on another package called moreTabs, that will help you open closed tabs in a much easier way.

Credit

I got the idea at the first place from this plugin TidyTabs https://github.com/bradleyboy/TidyTabs-Sublime.

His plugin isn't sublime text 3 compatible so i made this one.

License

Licence Creative Commons

© 2012-2013 webArtisan web.artisan89@gmail.com.

This is free software. It is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Feel free to use this plugin in your own work. However, if you modify and/or redistribute it, please attribute me in some way, and distribute your work under this or a similar license. A shout-out would be appreciated.